package com.hpf.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.hpf.mapper.WmsRecordStorageMapper;
import com.hpf.domain.WmsRecordStorage;
import com.hpf.service.IWmsRecordStorageService;
import com.ruoyi.common.core.text.Convert;

/**
 * 【请填写功能名称】Service业务层处理
 * 
 * @author hpf
 * @date 2019-10-11
 */
@Service
public class WmsRecordStorageServiceImpl implements IWmsRecordStorageService 
{
    @Autowired
    private WmsRecordStorageMapper wmsRecordStorageMapper;

    /**
     * 查询【请填写功能名称】
     * 
     * @param recordGoodid 【请填写功能名称】ID
     * @return 【请填写功能名称】
     */
    @Override
    public WmsRecordStorage selectWmsRecordStorageById(Long recordGoodid)
    {
        return wmsRecordStorageMapper.selectWmsRecordStorageById(recordGoodid);
    }

    /**
     * 查询【请填写功能名称】列表
     * 
     * @param wmsRecordStorage 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<WmsRecordStorage> selectWmsRecordStorageList(WmsRecordStorage wmsRecordStorage)
    {
        return wmsRecordStorageMapper.selectWmsRecordStorageList(wmsRecordStorage);
    }

    /**
     * 新增【请填写功能名称】
     * 
     * @param wmsRecordStorage 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertWmsRecordStorage(WmsRecordStorage wmsRecordStorage)
    {
        return wmsRecordStorageMapper.insertWmsRecordStorage(wmsRecordStorage);
    }

    /**
     * 修改【请填写功能名称】
     * 
     * @param wmsRecordStorage 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateWmsRecordStorage(WmsRecordStorage wmsRecordStorage)
    {
        return wmsRecordStorageMapper.updateWmsRecordStorage(wmsRecordStorage);
    }

    /**
     * 删除【请填写功能名称】对象
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    @Override
    public int deleteWmsRecordStorageByIds(String ids)
    {
        return wmsRecordStorageMapper.deleteWmsRecordStorageByIds(Convert.toStrArray(ids));
    }

    /**
     * 删除【请填写功能名称】信息
     * 
     * @param recordGoodid 【请填写功能名称】ID
     * @return 结果
     */
    public int deleteWmsRecordStorageById(Long recordGoodid)
    {
        return wmsRecordStorageMapper.deleteWmsRecordStorageById(recordGoodid);
    }
}
